package com.aaa.three.pojo.query;

import lombok.Data;

@Data
public class BasePage {

    private  Integer pageNo;
    private  Integer pageCount;
    public Integer getIndex(){
        return  (pageNo - 1)* pageCount;
    }
}
